package sk.tuke.constraintbuilder.builder.resourcemodel;

/**
 * Created by IntelliJ IDEA.
 * User: Brano
 * Date: 16.4.2011
 * Time: 21:51
 */
public class InterfaceElement extends Element{
    private String implementedType;

    public InterfaceElement(String implementedType) {
        this.implementedType = implementedType;
    }

    @Override
    public String generateXML() {
        return "<interface"+ addXMLAttr("name", implementedType) + "/>";
    }
}
